package com.wise.entities.content;

import com.wise.framework.annotations.ApiInfo;
import com.wise.framework.daoannotations.Column;
import com.wise.framework.daoannotations.Table;
import com.wise.framework.entitiesbasic.IdTimeEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * 区域信息表
 */
@Getter
@Setter
@Table("dict_regions")
@ApiInfo("区域信息")
public class Region extends IdTimeEntity {
    public static final String _tableName = "dict_regions";

    /**
     * 区域等级（例如：亚洲-10   中国-20  江苏-30  南京-40）
     */
    @Column("level")
    @ApiInfo("区域等级")
    private Integer level;
    public static final String _level = "level";
    /**
     * code区域代码
     */
    @Column("code")
    @ApiInfo("code区域代码")
    private String code;
    public static final String _code = "code";
    /**
     * parentCode--父级区域代码
     */
    @Column("parent_code")
    @ApiInfo("父级区域代码")
    private String parentCode;
    public static final String _parentCode = "parent_code";
    /**
     * 区域名称
     */
    @Column("name")
    @ApiInfo("区域名称")
    private String name;
    public static final String _name = "name";
    /**
     * 邮编
     */
    @Column("zipcode")
    @ApiInfo("邮编")
    private String zipcode;
    public static final String _zipcode = "zipcode";
    /**
     * 排序   默认为0
     */
    @Column("display_order")
    @ApiInfo("排序")
    private Integer displayOrder;
    public static final String _displayOrder = "display_order";
    /**
     * 状态：默认为1：存在   0逻辑删除
     */
    @Column("status")
    @ApiInfo("状态")
    private Integer status;
    public static final String _status = "status";
}
